using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using ESoft.Core.Data;
using ESoft.Core.Data.Entity;
using Microsoft.EntityFrameworkCore.Metadata.Builders;

namespace ESoft.Portal.Data.Domain.Entity
{
    /// <summary>
    /// CRichText
    /// </summary>    
	[Table("c_rich_text")]
    public partial class CRichTextEntity : BaseModel
    {
		/// <summary>
        /// 
        /// </summary>
		[Key] 
		[Column("RICH_TEXT_ID")]
        public string RichTextId { get; set; }
		/// <summary>
        /// 
        /// </summary> 
		[Column("TEXT_CONTENT")]
        public byte[] TextContent { get; set; }
    }

		public class CRichTextConfiguration : EntityMappingConfiguration<CRichTextEntity>
    {
        public override void Map(EntityTypeBuilder<CRichTextEntity> b)
        {
        }
    }
}

